﻿using System;
using System.Windows.Controls;

namespace LiSAClient.WpfClient.View.Projects
{
    /// <summary>
    /// Interaction logic for WorkOnProject.xaml
    /// </summary>
    public partial class WorkOnProject : UserControl
    {
        public WorkOnProject()
        {
            InitializeComponent();
        }

        private void Scroller_ScrollChanged(Object sender, ScrollChangedEventArgs e)
        {
            if (e.ExtentHeightChange != 0)
            {
                Scroller.ScrollToVerticalOffset(0);
            }

        }
    }
}
